﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace ARchGL.Platform.Electrocar.Core.Mappings
{
    public class FileDirectorysMapping : IEntityTypeConfiguration<FileDirectorys>
    {
        public void Configure(EntityTypeBuilder<FileDirectorys> builder)
        {
            builder.Property(p => p.Name).HasMaxLength(50);
            builder.Property(p => p.Description).HasMaxLength(500);
        }
    }
}
